package com.thermofisher.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.thermofisher.beans.Config;
import com.thermofisher.mapper.ConfigMapper;
import com.thermofisher.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author py
 * @since 2020-01-13
 */
@Service
public class ConfigServiceImpl extends ServiceImpl<ConfigMapper, Config> implements ConfigService
{
    @Autowired
    private ConfigMapper configMapper;

    @Override
    public String getNow()
    {
        return configMapper.getNow();
    }

    @Override
    public List<Config> getAllEmail()
    {
        return configMapper.getAllEmail();
    }
}
